﻿using Gp.Scripts.Core;
using UnityEngine;

namespace Gp.GameLogic {
    public class InteractableItem : MonoBehaviour {
        // protected InteractableDrawerWrapper InteractableDrawer { get; private set; }

        public virtual Transform DrawerSource => transform;
        private void Awake() {
            // InteractableDrawer = new InteractableDrawerWrapper(DrawerSource);
        }
        

        private void Start() {
            // Global.Get<GUIManager>().RegisterInteractableTooltip(InteractableDrawer);
            // OnInit();
        }

        protected virtual void OnInit() {
            
        }

        private void OnEnable() {
            // InteractableDrawer.IsVisible = true;
        }

        private void OnDisable() {
            // InteractableDrawer.IsVisible = false;
        }


        // public void AddInfoEntry(InteractEntryInfo args) {
            // InteractableDrawer.Infos.Add(args);
        // }
    }
}